//
//  InforSubController.m
//  app_infor
//
//  Created by 胡林虎 on 2017/7/12.
//  Copyright © 2017年 胡林虎. All rights reserved.
//

#import "InforSubController.h"
#import <YYKit/YYCache.h>

@interface InforSubController ()

@end

@implementation InforSubController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor brownColor];
    
    NSLog( @" %@",NSHomeDirectory());
    
    
}
-(void)viewWillAppear:(BOOL)animated {
    NSString * rest =  [[NSUserDefaults standardUserDefaults] objectForKey:@"123" ];
    NSLog(@"rest -- %@ ",rest);
    
    [[NSNotificationCenter defaultCenter] postNotificationName:@"123" object:nil];



}
-(void)viewDidAppear:(BOOL)animated {
    
    YYCache *yyCache = [YYCache cacheWithName:@"HLSpace"];

    NSLog(@" ----- %@",[yyCache objectForKey:@"homePage"]);


}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
